package com.ChainBizPro.system.service;

import com.ChainBizPro.system.model.domain.Suppliers;
import com.ChainBizPro.system.model.dto.Suppliers.SuppliersQueryRequest;
import com.ChainBizPro.system.model.vo.SuppliersVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 供应商服务
 *
 * @author liusijia
 */
public interface SuppliersService extends IService<Suppliers> {

    SuppliersVO getSuppliersVO(Suppliers supplier);

    Page<SuppliersVO> getQueryWrapper(Page<SuppliersVO> pageParam, SuppliersQueryRequest suppliersQueryRequest);

    Page<SuppliersVO> getQueryWrapperByMy(Page<SuppliersVO> pageParam, SuppliersQueryRequest suppliersQueryRequest, Long userId);
}
